using System;
using System.Collections.Generic;
using System.Text;

namespace Thinxoft.HttpLib
{
    public class DefaultResource : HttpResource
    {
        HttpApplication app;
        List<HttpResource> children;

        public DefaultResource(string resource, ref HttpApplication app)
            : base(resource, ref app)
        {
            this.app = app;
            children = new List<HttpResource>();
        }

        public DefaultResource(string resource, HttpApplication app)
            : base(resource, ref app)
        {
            this.app = app;
            children = new List<HttpResource>();
        }


        public List<string> DefaultDocuments
        {
            get
            {
                return app.DefaultDocuments;
            }
        }

        public List<HttpResource> Children
        {
            get
            {
                return children;
            }
        }

        public override string ResourceType
        {
            get
            {
                return "default";
            }
        }



        


    }
}
